<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
	<meta http-equiv="X-UA-Compatible" content="ie=edge">
	<link rel="stylesheet" href="./styles/css/common.css">
	<link rel="stylesheet" href="./styles/css/mui.min.css">
	<link rel="stylesheet" href="./styles/css/mui.picker.min.css">
	<link rel="stylesheet" href="./styles/css/index.css">
	<title>离校未就业毕业生实名制登记</title>
</head>

<body style="position: relative;">
	<div class="home_header">
		<p>离校未就业毕业生实名制登记</p>
	</div>
	<div class="home_mes">
		<h1>用户须知</h1>
		<div class="mes_con">
			<div class="mes_item clearfix">
				<i class="icon_one"></i> <span>实名制登记服务为离校后两年内未就业的北京市户籍毕业生，提供职业指导、职业培训、推荐就业等服务；</span>
			</div>
			<div class="mes_item clearfix">
				<i class="icon_two"></i> <span> 请认真填写相关信息，保证信息准确、完整，方便后续业务办理；</span>
			</div>
			<div class="mes_item clearfix">
				<i class="icon_three"></i> <span>如有疑问，请联系户籍区毕业生就业工作部门。</span>
			</div>
		</div>
	</div>
	<div class="home_person clearfix">
		<div class="person_left left">
			<div class="person_item1">
				<span class="per_xm"></span>
				<!-- <span class="per_phone"></span> -->
			</div>
			<p class="person_item2"></p>
		</div>
		<div class="person_right right J_apply">开始办理</div>
	</div>
</body>
<script src="./common/rem.js"></script>
<script src="./common/vendor.js"></script>
<script src="./common/common.js"></script>
<script>

	$(function () {
		var sfcz = 0;
		var load = new $.Loading();
		load.on();
		$.fetch({
			url: '/smzdj/jbxxCx',
			type: 'get'
		}).always(function () {
			load.off();

		}).done(function (res) {
			var _res = res.returnData;
			if (+_res.executeResult == 1) {
				var _person = _res.jbxx;
				sfcz = _person.sfcz;
				$('.per_xm').text('姓名：' + _person.xm);
				// $('.per_phone').text(_person.xm);
				$('.person_item2').text('身份证号：' + _person.sfzhm);
			} else {
				$.layerMsg(_res.message, '我知道了');
			}
		})

		// 开始办理
		$(document).on('click', '.J_apply', function () {
			if (sfcz == 1) {
				window.location.href = "./detail.html";
			} else if (sfcz == 0) {
				window.location.href = "./order.html";
			}
		});
	});
</script>

</html>
